<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page trimDirectiveWhitespaces="true"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>

<c:set var="ctx" value="${pageContext.request.contextPath}" />
<script type="text/javascript" src="${ctx}/assets/js/util/tinymce-admin-page.js"></script>
<script type="text/javascript" src="${ctx}/assets/sea-modules/tinymce/4.0.16/tinymce.min.js"></script>
<script type="text/javascript" src="${ctx}/assets/sea-modules/jquery/jquery-file-upload/8.8.5/vendor/jquery.ui.widget.js"></script>
<script type="text/javascript" src="${ctx}/assets/sea-modules/jquery/jquery-file-upload/8.8.5/jquery.iframe-transport.js"></script>
<script type="text/javascript" src="${ctx}/assets/sea-modules/jquery/jquery-file-upload/8.8.5/jquery.iframe-transport.js"></script>

<div class="container">
	<h4>优惠券使用说明 </h4>
	<div>
		<textarea name="coupondesc" class="form-control required" id="coupondesc" ></textarea>
		<span class="btn btn-success fileinput-button" 	style="display: none;"> 
			<i class="glyphicon glyphicon-plus"></i> 
			<span>添加图片</span> <!-- 单选 -->
		<input id="fileupload" type="file" name="files[]">
		</span>
	</div>
	<div style="margin:10px 0;">
		<input type="button" class="btn btn-primary" value="保存" id="save" />
	</div>

</div>








<c:if test="${env == 'production' }">
	<script type="text/javascript">
		seajs.use("${ctx}/assets/js-dist/admin/coupon-desc-page");
	</script>
</c:if>
<c:if test="${env != 'production' }">
	<script type="text/javascript">
		seajs.use("${ctx}/assets/js/admin/coupon-desc-page");
	</script>
</c:if>